/*
 * A Raul Leal project
 */
include("Framework/kontx/1.1/src/all.js");
include("Javascript/EventHandlers.js");
include("Javascript/views/SnippetView.js");
include("Javascript/views/MainView.js");
include("Javascript/views/AllCharsView.js");
include("Javascript/views/testGrid.js");
include("Javascript/views/player.js");


KONtx.application.init({
	views: [
		{ id: 'view-Main', viewClass: SampleSidebarView },
		{ id: 'view-AllChars', viewClass: AllCharsView },
		{ id: 'view-teamView', viewClass: teamView },
		{ id: 'view-Player', viewClass: SamplePlayerView },
		{ id: 'view-Settings', viewClass: KONtx.views.AboutBox },
		{ id: 'snippet-main', viewClass: SampleSnippetView },
	],
	defaultViewId: 'view-Main',
	settingsViewId: 'view-Settings',
	
});

EventHandlers.onApplicationStartup.subscribeTo(KONtx.application, ['onApplicationStartup'], EventHandlers);


